package com.example.understandvideo.mapper;

import com.example.understandvideo.pojo.MarathonGroup;
import com.example.understandvideo.pojo.request.CommonSearchRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MarathonGroupDao {
    int deleteByPrimaryKey(Long id);

    int insert(MarathonGroup record);

    int insertSelective(MarathonGroup record);

    MarathonGroup selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MarathonGroup record);

    int updateByPrimaryKey(MarathonGroup record);
    Long count(CommonSearchRequest request);
    List<MarathonGroup> search(CommonSearchRequest request);
}